package com.rf.business.dao;

import com.rf.business.model.CardPhoto;
import com.rf.business.model.CardPhotoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CardPhotoMapper {
    int countByExample(CardPhotoExample example);

    int deleteByExample(CardPhotoExample example);

    int deleteByPrimaryKey(String id);

    int insert(CardPhoto record);

    int insertSelective(CardPhoto record);

    List<CardPhoto> selectByExample(CardPhotoExample example);

    CardPhoto selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CardPhoto record, @Param("example") CardPhotoExample example);

    int updateByExample(@Param("record") CardPhoto record, @Param("example") CardPhotoExample example);

    int updateByPrimaryKeySelective(CardPhoto record);

    int updateByPrimaryKey(CardPhoto record);
}